﻿using System.Web.Optimization;

namespace SIG.WebMVC
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                "~/Scripts/lib/jquery/plugins/jquery.validate.js",
                 "~/Scripts/lib/jquery/plugins/jquery.validate.unobtrusive.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryvalWithBootstrap").Include(
                 "~/Scripts/lib/jquery/plugins/jquery.unobtrusive-ajax.js",
                  "~/Scripts/lib/jquery/plugins/jquery.validate.js",
                   "~/Scripts/lib/jquery/plugins/jquery.validate.unobtrusive.js",
                        "~/Scripts/lib/jquery/plugins/jquery.validate.unobtrusive.bootstrap.js"));



     

            bundles.Add(new StyleBundle("~/Content/css/SigStyle").Include(
        "~/Content/bootstrap/bootstrap.css",
         "~/Content/css/font-awesome.css",
        "~/Content/css/style.css"

        ));

            //================== Admin path ===========================

            bundles.Add(new ScriptBundle("~/bundles/Adminjs").Include(               
                      "~/Areas/Admin/Content/bootstrap/js/bootstrap.js",
                      "~/Plugins/bootbox/bootbox.js",
                       "~/Plugins/toastr/toastr.js",
                         "~/Areas/Admin/Content/js/App.js"
                        ));


            bundles.Add(new StyleBundle("~/Areas/Admin/Content/css/SigStyle").Include(         
             "~/Areas/Admin/Content/css/font-awesome.css",
             "~/Areas/Admin/Content/css/style.css",
              "~/Plugins/toastr/toastr.css"
             ));
        }
    }
}
